package model;

public class AccountInfo {
   private String username;
   private String password;
   private String firstname;
   private String secondname;
   private String email;


   public AccountInfo() {
      this.username = "";
      this.password = "";
      this.firstname = "";
      this.secondname = "";
      this.email = "";
   }

   public AccountInfo(String username, String password, String firstname, String secondname, String email) {
      this.username = username;
      this.password = password;
      this.firstname = firstname;
      this.secondname = secondname;
      this.email = email;
   }

   public String getUsername() {
      return(username);
   }
   public void setUsername(String newUsername) {
      this.username = newUsername.trim();
   }

   public String getPassword() {
      return(password);
   }
   public void setPassword(String newPassword) {
      this.password = newPassword.trim();
   }

   public String getFirstname() {
      return(firstname);
   }
   public void setFirstname(String newFirstname) {
      this.firstname = newFirstname.trim();
   }

   public String getSecondname() {
      return(secondname);
   }
   public void setSecondname(String newSecondname) {
      this.secondname = newSecondname.trim();
   }

   public String getEmail() {
      return(email);
   }
   public void setEmail(String newEmail) {
      this.email = newEmail.trim();
   }
}